package com.bw.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bw.domain.SysMenu;
import com.bw.mapper.SysUserMapper;
import com.bw.service.SysMenuService;
import com.bw.mapper.SysMenuMapper;
import net.bytebuddy.asm.Advice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author THINKAPD
* @description 针对表【sys_menu】的数据库操作Service实现
* @createDate 2024-01-23 10:49:43
*/
@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu>
    implements SysMenuService{
    @Autowired
    SysUserMapper sysUserMapper;

    @Override
    public List<SysMenu> listByUserId(String userId) {
        return sysUserMapper.listByUserId(userId);
    }
}




